package com.crm.sys.model;

import java.io.File;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;


public class FileParameter {
 
	/**
	 * 文件对象
	 */
	private File[] uploadFiles;
	/**
	 * 文件内容类型
	 */
    private String[] uploadFileContentType;
    /**
     * 文件名称
     */
    private String[] uploadFileFileName;
    /**
     * 图片后缀类型
     */
    private String[] imageTypes;
 
	public File[] getUploadFiles() {
		return uploadFiles;
	}

	public void setUploadFiles(File[] uploadFiles) {
		this.uploadFiles = uploadFiles;
	}

	public String[] getUploadFileContentType() {
		return uploadFileContentType;
	}

	public void setUploadFileContentType(String[] uploadFileContentType) {
		this.uploadFileContentType = uploadFileContentType;
	}

	public String[] getUploadFileFileName() {
		return uploadFileFileName;
	}


	public void setUploadFileFileName(String[] uploadFileFileName) {
		this.uploadFileFileName = uploadFileFileName;
	}

	public void setImageTypes(String[] imageTypes) {
		this.imageTypes = imageTypes;
	}

	public String[] getImageTypes() {
		return imageTypes;
	}
	public void setImageTypes(String imageTypes) {
		this.imageTypes = imageTypes.split("\\|");
	}

	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}

    
}